package cn.iocoder.yudao.module.dine.config.service.app;

import cn.iocoder.yudao.framework.business.basic.service.impl.AbstractService;
import cn.iocoder.yudao.module.api.dine.vo.DineTimeRangeVO;
import cn.iocoder.yudao.module.dine.config.convert.DineTimeRangeConvert;
import cn.iocoder.yudao.module.dine.config.dao.DineTimeRangeMapper;
import cn.iocoder.yudao.module.dine.config.pojo.po.DineTimeRange;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

/**
 * <pre>
 * OOoO0OOoO0OOOooo0oOOOO0OOOOO0oooOO0ooOOO0Ooooo0OOOOo0ooooO0OOooo0Ooooo0OOOOO
 * 服务
 * OOoO0OOoO0OOOooo0oOOOO0OOOOO0oooOO0ooOOO0Ooooo0OOOOo0ooooO0OOooo0Ooooo0OOOOO
 * </pre>
 *
 * @author 山野羡民（1032694760@qq.com）
 * @since 2025/09/07
 */
@Service
public class AppDineTimeRangeService extends AbstractService<DineTimeRange, DineTimeRangeVO> {
    @Resource
    private DineTimeRangeMapper dineTimeRangeMapper;

    @Override
    public DineTimeRangeMapper getInjectedMapper() {
        return dineTimeRangeMapper;
    }

    @Override
    public DineTimeRangeVO convertToViewObject(DineTimeRange entity) {
        return DineTimeRangeConvert.INSTANCE.toViewObject(entity);
    }

}
